package com.blog.BO;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：传输评论的相关信息
 * @date 2023年5月31日
 */
public class DiscussBO {
	
	private int discussId;//评论id

	private String discussText;//评论信息

	private int sendId;//发送方id

	private int receiveId;//接收方id（-1为直接评论）

	private int postId;//帖子id

	private Date sendDate;//发送时间

	private Date sendStartDate;//发送开始时间

	private Date sendEndDate;//发送结束时间

	public int getDiscussId() {
		return discussId;
	}

	public void setDiscussId(int discussId) {
		this.discussId = discussId;
	}

	public String getDiscussText() {
		return discussText;
	}

	public void setDiscussText(String discussText) {
		this.discussText = discussText;
	}

	public int getSendId() {
		return sendId;
	}

	public void setSendId(int sendId) {
		this.sendId = sendId;
	}

	public int getReceiveId() {
		return receiveId;
	}

	public void setReceiveId(int receiveId) {
		this.receiveId = receiveId;
	}

	public int getPostId() {
		return postId;
	}

	public void setPostId(int postId) {
		this.postId = postId;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public Date getSendStartDate() {
		return sendStartDate;
	}

	public void setSendStartDate(Date sendStartDate) {
		this.sendStartDate = sendStartDate;
	}

	public Date getSendEndDate() {
		return sendEndDate;
	}

	public void setSendEndDate(Date sendEndDate) {
		this.sendEndDate = sendEndDate;
	}

	@Override
	public String toString() {
		return "DiscussBO [discussId=" + discussId + ", discussText=" + discussText + ", sendId=" + sendId
				+ ", receiveId=" + receiveId + ", postId=" + postId + ", sendDate=" + sendDate + ", sendStartDate="
				+ sendStartDate + ", sendEndDate=" + sendEndDate + "]";
	}

	public DiscussBO(int discussId, String discussText, int sendId, int receiveId, int postId, Date sendDate,
			Date sendStartDate, Date sendEndDate) {
		super();
		this.discussId = discussId;
		this.discussText = discussText;
		this.sendId = sendId;
		this.receiveId = receiveId;
		this.postId = postId;
		this.sendDate = sendDate;
		this.sendStartDate = sendStartDate;
		this.sendEndDate = sendEndDate;
	}

	public DiscussBO() {
		super();
	}
}
